import React from 'react';
import {Link,Outlet} from 'react-router-dom'
export default function(){
    return <div>
        <h1>管理系统</h1>
        <nav>
            <Link to="/manage/student">学生管理</Link>
            <Link to="/manage/class">班级管理</Link>
            <Link to="/manage/teacher">老师管理</Link>
        </nav>
        <div >
            <Outlet />
        </div>
    </div>
}